package org.absolutezero.shared;

import java.util.List;

import org.absolutezero.model.Product;


import com.google.web.bindery.requestfactory.shared.InstanceRequest;
import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.Service;


@Service(Product.class)	
public interface ProductRequest extends RequestContext {

	InstanceRequest<ProductProxy, Void> persist();
	
	InstanceRequest<ProductProxy, Void> remove();
	
	Request<List<ProductProxy>> getAllProducts();
	
}
